import request from '@/utils/request'

// 查询fo_tag_discount_house列表
export function listTag_discount_house(query) {
  return request({
    url: '/yipaiju/tag_discount_house/list',
    method: 'get',
    params: query
  })
}

// 查询fo_tag_discount_house详细
export function getTag_discount_house(id) {
  return request({
    url: '/yipaiju/tag_discount_house/' + id,
    method: 'get'
  })
}

// 新增fo_tag_discount_house
export function addTag_discount_house(data) {
  return request({
    url: '/yipaiju/tag_discount_house',
    method: 'post',
    data: data
  })
}

// 修改fo_tag_discount_house
export function updateTag_discount_house(data) {
  return request({
    url: '/yipaiju/tag_discount_house',
    method: 'put',
    data: data
  })
}

// 删除fo_tag_discount_house
export function delTag_discount_house(id) {
  return request({
    url: '/yipaiju/tag_discount_house/' + id,
    method: 'delete'
  })
}
